import service from "../utils/request"
/*
登陆的接口
* */
export function GetHome(data) {
  return service.request({
    method: "post",
    url: "/login/userLogin",
    data
  });
}

/*
管理员获取已上架图书列表的接口
* */
export function getBooks(params) {
  return service.request({
    method: "get",
    url: "/books/bookTypekList",
    params

  });
}
